//
//  Test2.m
//  XibTest
//
//  Created by wbs on 17/2/22.
//  Copyright © 2017年 xiaomaolv. All rights reserved.
//

#import "Test2.h"

@interface Test2()


@end
@implementation Test2
- (instancetype)initWithCoder:(NSCoder *)aDecoder
{
    
    if (self = [super initWithCoder:aDecoder]) {
        
        [self setUpUI];
    }
    return self;
}


- (void)setUpUI{
    
    [[NSBundle mainBundle] loadNibNamed:@"Test2" owner:self options:nil];
    
    [self addSubview:self.test2];
    self.test2.frame = self.bounds;
}

@end
